home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / Why < prev   
Text File  |  1995-04-10  |  2KB  |  56 lines

  1.  
  2.  
  3.              Why (1.3, 2.x, 3.x in C:)
  4.  
  5.  
  6.       NAME
  7.           Why - Used to get additional information about failing
  8.                 commands.
  9.  
  10.       SYNOPSIS
  11.           WHY
  12.  
  13.       DESCRIPTION
  14.             AmigaDOS has this little command that MSDos and 
  15.         System 7 users can only dream about. MSDos nor System 7 
  16.         gives the user any kind of feedback when a command fails 
  17.         to run. The few messages they do send you are confusing 
  18.         and make sense only to Bill Gates (maybe). When AmigaDOS 
  19.         hits a problem, what happens? You get a nice little 
  20.         requestor telling you what was wrong and probably a 
  21.         suggestion on how to fix it. If you send the Why command 
  22.         right after this happens, you can get additional info on 
  23.         the command failure and more details (in simple English) 
  24.         on what can be done to correct it.
  25.  
  26.             Sometimes, Why will send back a failure code in the 
  27.         form of a number. You can use the Fault command to 
  28.         analyze this number and investigate more fully the fault 
  29.         code.
  30.  
  31.             If you issue Why after a command that executed 
  32.         successfully (or did the failed command has issued all 
  33.         the information available) you will get the message: "The 
  34.         last command did not set a return code."
  35.  
  36.  
  37.     KEYWORDS
  38.  
  39.             There are no keywords.
  40.  
  41.     EXAMPLES
  42.  
  43.             1. What happens when a Why is issued after a RUN 
  44.         command fails to run:
  45.  
  46.               1> RUN GrooveyGame
  47.                  
  48.               RUN: Can't run GrooveyGame
  49.  
  50.               1> WHY
  51.  
  52.               Last command failed because file not found
  53.  
  54.  
  55.  
  56.